x86/dom0: Fix command line parsing issues with dom0_nodes=
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 19 Nov 2021 13:16:12 +0000 (13:16 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 29 Nov 2021 13:53:05 +0000 (13:53 +0000)
commit8969d58404ceddf9994574253965dc46c4308da3
treed24e537199d19aea2a0869bfac883df361f10335
parent11d9e114b53045e5f2009a26dad1d0d0f7df441e
x86/dom0: Fix command line parsing issues with dom0_nodes=

This is a simple comma separated list, so use the normal form.

 * Don't cease processing subsequent elements on an error
 * Do report -EINVAL for things like `dom0_nodes=4foo`
 * Don't opencode the cmdline_strcmp() helper

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/dom0_build.c